package com.eight.paper.admin.mapper;

import com.eight.paper.admin.domain.ExamPaperGroup;
import com.eight.paper.admin.domain.model.ExamPaperGroupBoby;

import java.util.List;

/**
 * 考试试题分组Mapper接口
 * 
 * @author eight
 * @date 2023-10-31
 */
public interface ExamPaperGroupMapper 
{
    /**
     * 新增考试试题分组
     * 
     * @param examPaperGroup 考试试题分组
     * @return 结果
     */
    public int insertExamPaperGroup(ExamPaperGroup examPaperGroup);

    /**
     * 根据paperId删除试卷大题信息
     * @param id
     */
    void deleteExamPaperGroupByPaperId(Integer id);

    /**
     * 查询试卷大题对应的题目信息
     * @param group
     * @return
     */
    List<ExamPaperGroupBoby> selectExamPaperGroupBodyList(ExamPaperGroup group);

}
